<?php


namespace app\api\controller;


use app\api\service\Token;
use think\Cache;
use think\Controller;

class BaseController extends Controller
{
    // 判断调用接口时 是否有令牌
    public function _initialize()
    {
         Token::isHasToken();
    }
}